<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> <Somnus:sitecfg name="sitetitle"/> </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="description" content=" <Somnus:sitecfg name="sitedescription"/> ">
<meta name="Keywords" content=" <Somnus:sitecfg name="sitekeywords"/> ">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/mui.min.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/mui.picker.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/mui.poppicker.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/newpay-bb7fcb5546.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/feiqi-ee5401a8e6.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/pay-2b02ca7987.css">
<style>
	.mui-input-group .mui-input-row, .mui-input-row{
	    height: 45px;
	}
	.marea{padding-right: 15px;}
	.regfrm label {
	    padding: 14px 15px;
	}
	.marea label {
	    padding: 14px 0;
	}
	.mui-input-row label~input, .mui-input-row label~select, .mui-input-row label~textarea {
	    height: 45px;
	    text-align: right;
	}
	.mui-input-row:last-child:after{
    height: 0;
	}
	@media screen and (max-width: 321px){
		.marea label {
		    font-size: 14px;
		    width: 24%;
		    padding-top: 15px;
		}
		.marea label~input {
		    width: 76%;
		}
		.regfrm .mui-input-row label {
		    width: 24%;
		    white-space: nowrap;
		    font-size: 14px;
		    padding: 15px 15px;
		}
		.regfrm .mui-input-row input {
		    font-size: 14px;
		    width: 74%;
		}			
	}
	@media screen and (max-width: 350px){
		.marea label~input {
	        font-size: 13px;			   
		}
	}
	.seltarr {
	    display: block;
	    position: absolute;
	    top: 20px;
	    right: 10px;
	}
	.info_span{
	    float: right;
	    position: absolute;
	    right: 2px;
	    top: 12px;
	}
</style>
</head>
<body class="newbg">
 	<!-- header -->
 	<header class="mui-bar mui-bar-nav hnav">
		<a class="back" href="{:U('Order/bankss')}"></a>
		<h1 class="mui-title">{$bankss.bank_name}</h1>
	</header>
	<!-- header end-->

<div class="mui-content">
	<!-- paymoney -->
	<article class="tipinfo">
    <notempty name="inf">
		您的信息已经审核！
        <else />
        填写真实有效的信息，审核才会通过哦~
    </notempty>
	</article>
	<div class="mui-input-group regfrm" >

    	<!--<div class="mui-input-row">-->
			<!--<label>*貸款種類</label>-->
			<!--<input type="text" id="dkzl" class="mui-input-clear mui-input nofocus" value="{$inff.dkzl}" placeholder="請選擇貸款種類" data-input-clear="2">-->
		<!--</div>-->

		<!--<div class="mui-input-row">-->
			<!--<label>*貸款項目</label>-->
			<!--<input type="text" id="dkxm" class="mui-input-clear mui-input nofocus" value="{$inff.dkxm}" placeholder="請選擇貸款種類" data-input-clear="2">-->
		<!--</div>-->

		<div class="mui-input-row">
			<label>*中文姓名</label>
			<input type="text" id="name" class="mui-input-clear mui-input nofocus" value="{$inff.name}" placeholder="请输入中文姓名" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>貸款種類与項目</label>
			<input id='showCityPicker2' name="showCityPicker2" data-input-clear="2" class="mui-input-clear mui-input inputblur" value="{$inff.zhonglei}" placeholder="請選擇貸款種類与項目"  type='text'>
		</div>

    	<div class="mui-input-row">
			<label>申請金額</label>
			<input type="text" id="sqje" class="mui-input-clear mui-input nofocus" value="{$inff.sqje}" placeholder="請輸入申請金額" data-input-clear="2" style="right: 25px;position: absolute;">
			<span class="info_span">元</span>
		</div>

		<div class="mui-input-row">
			<label>還款年限</label>
			<input type="text" id="hknx" class="mui-input-clear mui-input nofocus" value="{$inff.hknx}" placeholder="請輸入還款年限" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>還款辦法</label>
			<input type="text" id="hkbf" class="mui-input-clear mui-input nofocus" value="{$inff.hkbf}" placeholder="請選擇還款辦法" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>還款財源</label>
			<input type="text" id="hkly" class="mui-input-clear mui-input nofocus" value="{$inff.hkly}" placeholder="請選擇還款財源" data-input-clear="2">
		</div>

    	<div class="mui-input-row">
			<label>身份證号</label>
			<input type="text" id="usercard" class="mui-input-clear mui-input nofocus" value="{$inff.usercard}" placeholder="请输入身份證号" data-input-clear="2">
		</div>

    	<div class="mui-input-row">
			<label>婚姻狀況</label>
			<input type="text" id="feng" class="mui-input-clear mui-input nofocus" value="{$inff.feng}" placeholder="請選擇" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>教育程度</label>
			<input type="text" id="jiaoyu" class="mui-input-clear mui-input nofocus" value="{$inff.jiaoyu}" placeholder="請選擇教育程度" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>出生年月日</label>
			<input type="text" id="shenri" class="mui-input-clear mui-input nofocus" value="{$inff.shenri}" placeholder="請輸入年月日" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>戶籍地址</label>
			<input id="hj_address" type="text" value="{$inff.hj_address}" class="mui-input-clear mui-input nofocus" placeholder="例：东北石油大学启智寝室楼2A608" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>通訊地址</label>
			<input type="text" id="youji" class="mui-input-clear mui-input nofocus" value="{$inff.youji}" placeholder="請輸入" data-input-clear="2">
		</div>

    	<div class="mui-input-row">
			<label>E-Mail位址</label>
			<input type="text" id="email" class="mui-input-clear mui-input nofocus" value="{$inff.email}" placeholder="請輸入E-Mail位址" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>行動電話</label>
			<input type="text" id="phone" class="mui-input-clear mui-input nofocus" value="{$inff.phone}" placeholder="号码加区号" data-input-clear="2">
		</div>

    	<div class="mui-input-row">
			<label>住宅狀況</label>
			<input type="text" id="zhuzai" class="mui-input-clear mui-input nofocus" value="{$inff.zhuzai}" placeholder="請選擇住宅狀況" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>服務單位</label>
			<input type="text" id="dwname" class="mui-input-clear mui-input nofocus" value="{$inff.dwname}" placeholder="请输入服務單位" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>服務單位電話</label>
			<input type="text" id="gsdhua" class="mui-input-clear mui-input nofocus" value="{$inff.gsdhua}" placeholder="号码加区号" data-input-clear="2">
		</div>


		<div class="mui-input-row">
			<label>職稱</label>
			<input id="position" value="{$inff.position}" type="text" class="mui-input-clear mui-input nofocus" placeholder="请输入職稱" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>年收入</label>
			<input type="text" id="nianxing" class="mui-input-clear mui-input nofocus" value="{$inff.nianxing}" placeholder="请输入年薪" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>年支出</label>
			<input type="text" id="nianzc" class="mui-input-clear mui-input nofocus" value="{$inff.nianzc}" placeholder="请输入年薪" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>申請分行</label>
			<input type="text" id="sqfh" class="mui-input-clear mui-input nofocus" value="{$inff.sqfh}" placeholder="請輸入需要申請的分行" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>連絡時間</label>
			<input type="text" id="lltime" class="mui-input-clear mui-input nofocus" value="{$inff.lltime}" placeholder="请選擇連絡時間" data-input-clear="2">
		</div>

		<div class="mui-input-row">
			<label>資訊來源</label>
			<input type="text" id="zxly" class="mui-input-clear mui-input nofocus" value="{$inff.zxly}" placeholder="请選擇" data-input-clear="2">
		</div>



	</div>
	<section class="msub" style="position: relative;">
		<button type="button" class="mui-btn mui-btn-danger mui-button-pay mui-button-gry" onclick="saveInfo();">下壹步</button>
		<!-- 提示 -->
		<div style="display: none;position: absolute;" class="errdeo" id="messageBox">
		</div>	
	</section>
</div>
<script src="__PUBLIC__/home/js/jquery.js"></script>
<script src="__PUBLIC__/home/js/stuCheck-ae09551939.js"></script>
<script src="__PUBLIC__/home/js/geihuaCom-1088667498.js"></script>

<script src="__PUBLIC__/home/js/mui.min.js"></script>

<script src="__PUBLIC__/home/js/mui-bd98b45634.picker.js"></script>
<script src="__PUBLIC__/home/js/mui-9fb36284ae.poppicker.js"></script>

<script src="__PUBLIC__/home/js/city-564994092a.data.js" type="text/javascript" charset="utf-8"></script>
<script src="__PUBLIC__/home/js/city-67f8c196d0.data-3.js" type="text/javascript" charset="utf-8"></script>

<script>


$('#sel').change(function(){
	change('sel','sela')
});

$('.inputblur').click(function(){
	$(this).blur();
	$('.nofocus').blur();
});







(function($, doc) {



	$.init();

	$.ready(function() {




		var cityPicker2 = new $.PopPicker({
			layer: 3
		});

		cityPicker2.setData(cityData3);



        /*联络时间*/
        var lltimes = new $.PopPicker({
            layer: 1
        });
        lltimes.setData([{value:"上午(09:00-12:00)",text:"上午(09:00-12:00)"},{value:"下午(13:00-18:00)",text:"下午(13:00-18:00)"},{value:"皆可",text:"皆可"}]);
        var lltime = doc.getElementById('lltime');
        lltime.addEventListener('tap', function(event) {
            lltimes.show(function(items) {
                var tmpval = (items[0] || {}).text;
                setSex("lltime",tmpval);
            });
        }, false);
        /*联络时间*/

        /*咨询来源*/
        var zxlys = new $.PopPicker({
            layer: 1
        });
        zxlys.setData([{value:"報章",text:"報章"},{value:"雜誌",text:"雜誌"},{value:"廣告",text:"廣告"},{value:"DM",text:"DM"},{value:"親友介紹",text:"親友介紹"},{value:"Internet",text:"Internet"},{value:"行員推介",text:"行員推介"},{value:"行內海報",text:"行內海報"}]);
        var zxly = doc.getElementById('zxly');
        zxly.addEventListener('tap', function(event) {
            zxlys.show(function(items) {
                var tmpval = (items[0] || {}).text;
                setSex("zxly",tmpval);
            });
        }, false);
        /*咨询来源*/



		/*婚姻狀況*/
		// var dkzls = new $.PopPicker({
		// 	layer: 1
		// });
		//
        // dkzls.setData([{value:"房屋貸款",text:"房屋貸款"},{value:"消費性貸款",text:"消費性貸款"}]);
		// 	var dkzl = doc.getElementById('dkzl');
        // dkzl.addEventListener('tap', function(event) {
        //     dkzls.show(function(items) {
		// 				var tmpval = (items[0] || {}).text;
		// 				setSex("dkzl",tmpval);
		// 			});
		// 	}, false);
		/*婚姻狀況*/

        /*贷款项目*/
        // var dkxms = new $.PopPicker({
        //     layer: 1
        // });
        // dkxms.setData([{value:"公教低利專案",text:"公教低利專案"},{value:"社會菁英專案",text:"社會菁英專案"},{value:"薪福貸專案",text:"薪福貸專案"},{value:"財夠力融資-循環動用型",text:"財夠力融資-循環動用型"}]);
        // var dkxm = doc.getElementById('dkxm');
        // dkxm.addEventListener('tap', function(event) {
        //     dkxms.show(function(items) {
        //         var tmpval = (items[0] || {}).text;
        //         setSex("dkxm",tmpval);
        //     });
        // }, false);
        /*贷款项目*/

		/*贷款项目与贷款种类*/
        var cityPicker2 = new $.PopPicker({
            layer: 2
        });
        // var cityData=[{value:"110000",text:"北京市",children:[{value:"110101",text:"东城区"},{value:"110102",text:"西城区"},{value:"110103",text:"崇文区"},{value:"110104",text:"宣武区"},{value:"110105",text:"朝阳区"},{value:"110106",text:"丰台区"},{value:"110107",text:"石景山区"},{value:"110108",text:"海淀区"},{value:"110109",text:"门头沟区"},{value:"110111",text:"房山区"},{value:"110112",text:"通州区"},{value:"110113",text:"顺义区"},{value:"110114",text:"昌平区"},{value:"110115",text:"大兴区"},{value:"110116",text:"怀柔区"},{value:"110117",text:"平谷区"},{value:"110228",text:"密云县"},{value:"110229",text:"延庆县"},{value:"110230",text:"其它区"}]},{value:"120000",text:"天津市",children:[{value:"120101",text:"和平区"},{value:"120102",text:"河东区"},{value:"120103",text:"河西区"},{value:"120104",text:"南开区"},{value:"120105",text:"河北区"},{value:"120106",text:"红桥区"},{value:"120107",text:"塘沽区"},{value:"120108",text:"汉沽区"},{value:"120109",text:"大港区"},{value:"120110",text:"东丽区"},{value:"120111",text:"西青区"},{value:"120112",text:"津南区"},{value:"120113",text:"北辰区"},{value:"120114",text:"武清区"},{value:"120115",text:"宝坻区"},{value:"120116",text:"滨海新区"},{value:"120221",text:"宁河县"},{value:"120223",text:"静海县"},{value:"120225",text:"蓟县"},{value:"120226",text:"其它区"}]},{value:"130000",text:"河北省",children:[{value:"130100",text:"石家庄市"},{value:"130200",text:"唐山市"},{value:"130300",text:"秦皇岛市"},{value:"130400",text:"邯郸市"},{value:"130500",text:"邢台市"},{value:"130600",text:"保定市"},{value:"130700",text:"张家口市"},{value:"130800",text:"承德市"},{value:"130900",text:"沧州市"},{value:"131000",text:"廊坊市"},{value:"131100",text:"衡水市"}]},{value:"140000",text:"山西省",children:[{value:"140100",text:"太原市"},{value:"140200",text:"大同市"},{value:"140300",text:"阳泉市"},{value:"140400",text:"长治市"},{value:"140500",text:"晋城市"},{value:"140600",text:"朔州市"},{value:"140700",text:"晋中市"},{value:"140800",text:"运城市"},{value:"140900",text:"忻州市"},{value:"141000",text:"临汾市"},{value:"141100",text:"吕梁市"}]},{value:"150000",text:"内蒙古",children:[{value:"150100",text:"呼和浩特市"},{value:"150200",text:"包头市"},{value:"150300",text:"乌海市"},{value:"150400",text:"赤峰市"},{value:"150500",text:"通辽市"},{value:"150600",text:"鄂尔多斯市"},{value:"150700",text:"呼伦贝尔市"},{value:"150800",text:"巴彦淖尔市"},{value:"150900",text:"乌兰察布市"},{value:"152200",text:"兴安盟"},{value:"152500",text:"锡林郭勒盟"},{value:"152900",text:"阿拉善盟"}]},{value:"210000",text:"辽宁省",children:[{value:"210100",text:"沈阳市"},{value:"210200",text:"大连市"},{value:"210300",text:"鞍山市"},{value:"210400",text:"抚顺市"},{value:"210500",text:"本溪市"},{value:"210600",text:"丹东市"},{value:"210700",text:"锦州市"},{value:"210800",text:"营口市"},{value:"210900",text:"阜新市"},{value:"211000",text:"辽阳市"},{value:"211100",text:"盘锦市"},{value:"211200",text:"铁岭市"},{value:"211300",text:"朝阳市"},{value:"211400",text:"葫芦岛市"}]},{value:"220000",text:"吉林省",children:[{value:"220100",text:"长春市"},{value:"220200",text:"吉林市"},{value:"220300",text:"四平市"},{value:"220400",text:"辽源市"},{value:"220500",text:"通化市"},{value:"220600",text:"白山市"},{value:"220700",text:"松原市"},{value:"220800",text:"白城市"},{value:"222400",text:"延边朝鲜族自治州"}]},{value:"230000",text:"黑龙江省",children:[{value:"230100",text:"哈尔滨市"},{value:"230200",text:"齐齐哈尔市"},{value:"230300",text:"鸡西市"},{value:"230400",text:"鹤岗市"},{value:"230500",text:"双鸭山市"},{value:"230600",text:"大庆市"},{value:"230700",text:"伊春市"},{value:"230800",text:"佳木斯市"},{value:"230900",text:"七台河市"},{value:"231000",text:"牡丹江市"},{value:"231100",text:"黑河市"},{value:"231200",text:"绥化市"},{value:"232700",text:"大兴安岭地区"}]},{value:"310000",text:"上海市",children:[{value:"310101",text:"黄浦区"},{value:"310103",text:"卢湾区"},{value:"310104",text:"徐汇区"},{value:"310105",text:"长宁区"},{value:"310106",text:"静安区"},{value:"310107",text:"普陀区"},{value:"310108",text:"闸北区"},{value:"310109",text:"虹口区"},{value:"310110",text:"杨浦区"},{value:"310112",text:"闵行区"},{value:"310113",text:"宝山区"},{value:"310114",text:"嘉定区"},{value:"310115",text:"浦东新区"},{value:"310116",text:"金山区"},{value:"310117",text:"松江区"},{value:"310118",text:"青浦区"},{value:"310119",text:"南汇区"},{value:"310120",text:"奉贤区"},{value:"310152",text:"川沙区"},{value:"310230",text:"崇明县"},{value:"310231",text:"其它区"}]},{value:"320000",text:"江苏省",children:[{value:"320100",text:"南京市"},{value:"320200",text:"无锡市"},{value:"320300",text:"徐州市"},{value:"320400",text:"常州市"},{value:"320500",text:"苏州市"},{value:"320600",text:"南通市"},{value:"320700",text:"连云港市"},{value:"320800",text:"淮安市"},{value:"320900",text:"盐城市"},{value:"321000",text:"扬州市"},{value:"321100",text:"镇江市"},{value:"321200",text:"泰州市"},{value:"321300",text:"宿迁市"}]},{value:"330000",text:"浙江省",children:[{value:"330100",text:"杭州市"},{value:"330200",text:"宁波市"},{value:"330300",text:"温州市"},{value:"330400",text:"嘉兴市"},{value:"330500",text:"湖州市"},{value:"330600",text:"绍兴市"},{value:"330700",text:"金华市"},{value:"330800",text:"衢州市"},{value:"330900",text:"舟山市"},{value:"331000",text:"台州市"},{value:"331100",text:"丽水市"}]},{value:"340000",text:"安徽省",children:[{value:"340100",text:"合肥市"},{value:"340200",text:"芜湖市"},{value:"340300",text:"蚌埠市"},{value:"340400",text:"淮南市"},{value:"340500",text:"马鞍山市"},{value:"340600",text:"淮北市"},{value:"340700",text:"铜陵市"},{value:"340800",text:"安庆市"},{value:"341000",text:"黄山市"},{value:"341100",text:"滁州市"},{value:"341200",text:"阜阳市"},{value:"341300",text:"宿州市"},{value:"341500",text:"六安市"},{value:"341600",text:"亳州市"},{value:"341700",text:"池州市"},{value:"341800",text:"宣城市"}]},{value:"350000",text:"福建省",children:[{value:"350100",text:"福州市"},{value:"350200",text:"厦门市"},{value:"350300",text:"莆田市"},{value:"350400",text:"三明市"},{value:"350500",text:"泉州市"},{value:"350600",text:"漳州市"},{value:"350700",text:"南平市"},{value:"350800",text:"龙岩市"},{value:"350900",text:"宁德市"}]},{value:"360000",text:"江西省",children:[{value:"360100",text:"南昌市"},{value:"360200",text:"景德镇市"},{value:"360300",text:"萍乡市"},{value:"360400",text:"九江市"},{value:"360500",text:"新余市"},{value:"360600",text:"鹰潭市"},{value:"360700",text:"赣州市"},{value:"360800",text:"吉安市"},{value:"360900",text:"宜春市"},{value:"361000",text:"抚州市"},{value:"361100",text:"上饶市"}]},{value:"370000",text:"山东省",children:[{value:"370100",text:"济南市"},{value:"370200",text:"青岛市"},{value:"370300",text:"淄博市"},{value:"370400",text:"枣庄市"},{value:"370500",text:"东营市"},{value:"370600",text:"烟台市"},{value:"370700",text:"潍坊市"},{value:"370800",text:"济宁市"},{value:"370900",text:"泰安市"},{value:"371000",text:"威海市"},{value:"371100",text:"日照市"},{value:"371200",text:"莱芜市"},{value:"371300",text:"临沂市"},{value:"371400",text:"德州市"},{value:"371500",text:"聊城市"},{value:"371600",text:"滨州市"},{value:"371700",text:"菏泽市"}]},{value:"410000",text:"河南省",children:[{value:"410100",text:"郑州市"},{value:"410200",text:"开封市"},{value:"410300",text:"洛阳市"},{value:"410400",text:"平顶山市"},{value:"410500",text:"安阳市"},{value:"410600",text:"鹤壁市"},{value:"410700",text:"新乡市"},{value:"410800",text:"焦作市"},{value:"410881",text:"济源市"},{value:"410900",text:"濮阳市"},{value:"411000",text:"许昌市"},{value:"411100",text:"漯河市"},{value:"411200",text:"三门峡市"},{value:"411300",text:"南阳市"},{value:"411400",text:"商丘市"},{value:"411500",text:"信阳市"},{value:"411600",text:"周口市"},{value:"411700",text:"驻马店市ss"}]},{value:"420000",text:"湖北省",children:[{value:"420100",text:"武汉市"},{value:"420200",text:"黄石市"},{value:"420300",text:"十堰市"},{value:"420500",text:"宜昌市"},{value:"420600",text:"襄阳市"},{value:"420700",text:"鄂州市"},{value:"420800",text:"荆门市"},{value:"420900",text:"孝感市"},{value:"421000",text:"荆州市"},{value:"421100",text:"黄冈市"},{value:"421200",text:"咸宁市"},{value:"421300",text:"随州市"},{value:"422800",text:"恩施土家族苗族自治州"},{value:"429004",text:"仙桃市"},{value:"429005",text:"潜江市"},{value:"429006",text:"天门市"},{value:"429021",text:"神农架林区"}]},{value:"430000",text:"湖南省",children:[{value:"430100",text:"长沙市"},{value:"430200",text:"株洲市"},{value:"430300",text:"湘潭市"},{value:"430400",text:"衡阳市"},{value:"430500",text:"邵阳市"},{value:"430600",text:"岳阳市"},{value:"430700",text:"常德市"},{value:"430800",text:"张家界市"},{value:"430900",text:"益阳市"},{value:"431000",text:"郴州市"},{value:"431100",text:"永州市"},{value:"431200",text:"怀化市"},{value:"431300",text:"娄底市"},{value:"433100",text:"湘西土家族苗族自治州"}]},{value:"440000",text:"广东省",children:[{value:"440100",text:"广州市"},{value:"440200",text:"韶关市"},{value:"440300",text:"深圳市"},{value:"440400",text:"珠海市"},{value:"440500",text:"汕头市"},{value:"440600",text:"佛山市"},{value:"440700",text:"江门市"},{value:"440800",text:"湛江市"},{value:"440900",text:"茂名市"},{value:"441200",text:"肇庆市"},{value:"441300",text:"惠州市"},{value:"441400",text:"梅州市"},{value:"441500",text:"汕尾市"},{value:"441600",text:"河源市"},{value:"441700",text:"阳江市"},{value:"441800",text:"清远市"},{value:"441900",text:"东莞市"},{value:"442000",text:"中山市"},{value:"445100",text:"潮州市"},{value:"445200",text:"揭阳市"},{value:"445300",text:"云浮市"}]},{value:"450000",text:"广西壮族",children:[{value:"450100",text:"南宁市"},{value:"450200",text:"柳州市"},{value:"450300",text:"桂林市"},{value:"450400",text:"梧州市"},{value:"450500",text:"北海市"},{value:"450600",text:"防城港市"},{value:"450700",text:"钦州市"},{value:"450800",text:"贵港市"},{value:"450900",text:"玉林市"},{value:"451000",text:"百色市"},{value:"451100",text:"贺州市"},{value:"451200",text:"河池市"},{value:"451300",text:"来宾市"},{value:"451400",text:"崇左市"}]},{value:"460000",text:"海南省",children:[{value:"460100",text:"海口市"},{value:"460200",text:"三亚市"},{value:"469001",text:"五指山市"},{value:"469002",text:"琼海市"},{value:"469003",text:"儋州市"},{value:"469005",text:"文昌市"},{value:"469006",text:"万宁市"},{value:"469007",text:"东方市"},{value:"469025",text:"定安县"},{value:"469026",text:"屯昌县"},{value:"469027",text:"澄迈县"},{value:"469028",text:"临高县"},{value:"469030",text:"白沙黎族自治县"},{value:"469031",text:"昌江黎族自治县"},{value:"469033",text:"乐东黎族自治县"},{value:"469034",text:"陵水黎族自治县"},{value:"469035",text:"保亭黎族苗族自治县"},{value:"469036",text:"琼中黎族苗族自治县"},{value:"469037",text:"西沙群岛"},{value:"469038",text:"南沙群岛"},{value:"469039",text:"中沙群岛的岛礁及其海域"}]},{value:"500000",text:"重庆",children:[{value:"500101",text:"万州区"},{value:"500102",text:"涪陵区"},{value:"500103",text:"渝中区"},{value:"500104",text:"大渡口区"},{value:"500105",text:"江北区"},{value:"500106",text:"沙坪坝区"},{value:"500107",text:"九龙坡区"},{value:"500108",text:"南岸区"},{value:"500109",text:"北碚区"},{value:"500110",text:"万盛区"},{value:"500111",text:"双桥区"},{value:"500112",text:"渝北区"},{value:"500113",text:"巴南区"},{value:"500114",text:"黔江区"},{value:"500115",text:"长寿区"},{value:"500222",text:"綦江县"},{value:"500223",text:"潼南县"},{value:"500224",text:"铜梁县"},{value:"500225",text:"大足县"},{value:"500226",text:"荣昌县"},{value:"500227",text:"璧山县"},{value:"500228",text:"梁平县"},{value:"500229",text:"城口县"},{value:"500230",text:"丰都县"},{value:"500231",text:"垫江县"},{value:"500232",text:"武隆县"},{value:"500233",text:"忠县"},{value:"500234",text:"开县"},{value:"500235",text:"云阳县"},{value:"500236",text:"奉节县"},{value:"500237",text:"巫山县"},{value:"500238",text:"巫溪县"},{value:"500240",text:"石柱土家族自治县"},{value:"500241",text:"秀山土家族苗族自治县"},{value:"500242",text:"酉阳土家族苗族自治县"},{value:"500243",text:"彭水苗族土家族自治县"},{value:"500381",text:"江津区"},{value:"500382",text:"合川区"},{value:"500383",text:"永川区"},{value:"500384",text:"南川区"},{value:"500385",text:"其它区"}]},{value:"510000",text:"四川省",children:[{value:"510100",text:"成都市"},{value:"510300",text:"自贡市"},{value:"510400",text:"攀枝花市"},{value:"510500",text:"泸州市"},{value:"510600",text:"德阳市"},{value:"510700",text:"绵阳市"},{value:"510800",text:"广元市"},{value:"510900",text:"遂宁市"},{value:"511000",text:"内江市"},{value:"511100",text:"乐山市"},{value:"511300",text:"南充市"},{value:"511400",text:"眉山市"},{value:"511500",text:"宜宾市"},{value:"511600",text:"广安市"},{value:"511700",text:"达州市"},{value:"511800",text:"雅安市"},{value:"511900",text:"巴中市"},{value:"512000",text:"资阳市"},{value:"513200",text:"阿坝藏族羌族自治州"},{value:"513300",text:"甘孜藏族自治州"},{value:"513400",text:"凉山彝族自治州"}]},{value:"520000",text:"贵州省",children:[{value:"520100",text:"贵阳市"},{value:"520200",text:"六盘水市"},{value:"520300",text:"遵义市"},{value:"520400",text:"安顺市"},{value:"522200",text:"铜仁地区"},{value:"522300",text:"黔西南布依族苗族自治州"},{value:"522400",text:"毕节地区"},{value:"522600",text:"黔东南苗族侗族自治州"},{value:"522700",text:"黔南布依族苗族自治州"}]},{value:"530000",text:"云南省",children:[{value:"530100",text:"昆明市"},{value:"530300",text:"曲靖市"},{value:"530400",text:"玉溪市"},{value:"530500",text:"保山市"},{value:"530600",text:"昭通市"},{value:"530700",text:"丽江市"},{value:"530800",text:"普洱市"},{value:"530900",text:"临沧市"},{value:"532300",text:"楚雄彝族自治州"},{value:"532500",text:"红河哈尼族彝族自治州"},{value:"532600",text:"文山壮族苗族自治州"},{value:"532800",text:"西双版纳傣族自治州"},{value:"532900",text:"大理白族自治州"},{value:"533100",text:"德宏傣族景颇族自治州"},{value:"533300",text:"怒江傈僳族自治州"},{value:"533400",text:"迪庆藏族自治州"}]},{value:"540000",text:"西藏",children:[{value:"540100",text:"拉萨市"},{value:"542100",text:"昌都地区"},{value:"542200",text:"山南地区"},{value:"542300",text:"日喀则地区"},{value:"542400",text:"那曲地区"},{value:"542500",text:"阿里地区"},{value:"542600",text:"林芝地区"}]},{value:"610000",text:"陕西省",children:[{value:"610100",text:"西安市"},{value:"610200",text:"铜川市"},{value:"610300",text:"宝鸡市"},{value:"610400",text:"咸阳市"},{value:"610500",text:"渭南市"},{value:"610600",text:"延安市"},{value:"610700",text:"汉中市"},{value:"610800",text:"榆林市"},{value:"610900",text:"安康市"},{value:"611000",text:"商洛市"}]},{value:"620000",text:"甘肃省",children:[{value:"620100",text:"兰州市"},{value:"620200",text:"嘉峪关市"},{value:"620300",text:"金昌市"},{value:"620400",text:"白银市"},{value:"620500",text:"天水市"},{value:"620600",text:"武威市"},{value:"620700",text:"张掖市"},{value:"620800",text:"平凉市"},{value:"620900",text:"酒泉市"},{value:"621000",text:"庆阳市"},{value:"621100",text:"定西市"},{value:"621200",text:"陇南市"},{value:"622900",text:"临夏回族自治州"},{value:"623000",text:"甘南藏族自治州"}]},{value:"630000",text:"青海省",children:[{value:"630100",text:"西宁市"},{value:"632100",text:"海东地区"},{value:"632200",text:"海北藏族自治州"},{value:"632300",text:"黄南藏族自治州"},{value:"632500",text:"海南藏族自治州"},{value:"632600",text:"果洛藏族自治州"},{value:"632700",text:"玉树藏族自治州"},{value:"632800",text:"海西蒙古族藏族自治州"}]},{value:"640000",text:"宁夏",children:[{value:"640100",text:"银川市"},{value:"640200",text:"石嘴山市"},{value:"640300",text:"吴忠市"},{value:"640400",text:"固原市"},{value:"640500",text:"中卫市"}]},{value:"650000",text:"新疆",children:[{value:"650100",text:"乌鲁木齐市"},{value:"650200",text:"克拉玛依市"},{value:"652100",text:"吐鲁番地区"},{value:"652200",text:"哈密地区"},{value:"652300",text:"昌吉回族自治州"},{value:"652700",text:"博尔塔拉蒙古自治州"},{value:"652800",text:"巴音郭楞蒙古自治州"},{value:"652900",text:"阿克苏地区"},{value:"653000",text:"克孜勒苏柯尔克孜自治州"},{value:"653100",text:"喀什地区"},{value:"653200",text:"和田地区"},{value:"654000",text:"伊犁哈萨克自治州"},{value:"654200",text:"塔城地区"},{value:"654300",text:"阿勒泰地区"},{value:"659001",text:"石河子市"},{value:"659002",text:"阿拉尔市"},{value:"659003",text:"图木舒克市"},{value:"659004",text:"五家渠市"}]},{value:"710000",text:"台湾省",children:[{value:"710100",text:"台北市"},{value:"710200",text:"高雄市"},{value:"710300",text:"台南市"},{value:"710400",text:"台中市"},{value:"710500",text:"金门县"},{value:"710600",text:"南投县"},{value:"710700",text:"基隆市"},{value:"710800",text:"新竹市"},{value:"710900",text:"嘉义市"},{value:"711100",text:"新北市"},{value:"711200",text:"宜兰县"},{value:"711300",text:"新竹县"},{value:"711400",text:"桃园县"},{value:"711500",text:"苗栗县"},{value:"711700",text:"彰化县"},{value:"711900",text:"嘉义县"},{value:"712100",text:"云林县"},{value:"712400",text:"屏东县"},{value:"712500",text:"台东县"},{value:"712600",text:"花莲县"},{value:"712700",text:"澎湖县"}]},{value:"810000",text:"香港",children:[{value:"810100",text:"香港岛"},{value:"810200",text:"九龙"},{value:"810300",text:"新界"}]},{value:"820000",text:"澳门",children:[{value:"820100",text:"澳门半岛"},{value:"820200",text:"离岛"}]},{value:"990000",text:"海外",children:[{value:"990100",text:"海外"}]}];
        var cityData=[{value:"110000",text:"政策性住宅貸款",children:[{value:"110101",text:"內政部自購住宅及修繕住宅貸款"},{value:"110101",text:"財政部青年安心成家購屋優惠貸款"},{value:"110101",text:"軍公教人員優惠房貸"}]},
            {value:"110000",text:"個人消費貸款",children:[{value:"110101",text:"社會菁英"},{value:"110101",text:"貼心相貸"},{value:"110101",text:"財夠力"}]},
			{value:"110000",text:"都更及危老建物重建業務",children:[{value:"110101",text:"都市更新貸款"},{value:"110101",text:"危老建物重建貸款"}]},
            {value:"110000",text:"政策性企業貸款",children:[{value:"110101",text:"機器設備輸出貸款"},{value:"110101",text:"機器設備升級貸款"},{value:"110101",text:"中小企業創新發展專案貸款"}]},
            {value:"110000",text:"一般性住宅貸款",children:[{value:"110101",text:"個人一般貸款"},{value:"110101",text:"樂活養老貸款"}]},
            {value:"110000",text:"農業、災害及其他專案貸款",children:[{value:"110101",text:"農業貸款"},{value:"110101",text:"各項天然災害貸款"},{value:"110101",text:"原住民族綜合發展基金"}]},
            {value:"110000",text:"土地及建築業貸款",children:[{value:"110101",text:"購地貸款"},{value:"110101",text:"市地改良放款"},{value:"110101",text:"興建房屋貸款"}]},
            {value:"110000",text:"一般企業貸款",children:[{value:"110101",text:"企業金融基準利率"},{value:"110101",text:"中長期融資"},{value:"110101",text:"購買工業用地及購建廠房貸款"}]}];
        cityPicker2.setData(cityData);

        var showCityPickerButton2 = doc.getElementById('showCityPicker2');
        showCityPickerButton2.addEventListener('tap', function(event) {
            var input = document.getElementsByClassName('nofocus');
            for (var i = 0; i < input.length; i++) {
                var _input = input[i];
                _input.blur();
            }
            cityPicker2.show(function(items) {
                if (typeof(items[1].text) == "undefined") {
                    showCityPickerButton2.value = (items[0] || {}).text + " " + (items[1] || {}).text;
                } else {
                    showCityPickerButton2.value = (items[0] || {}).text + " " + (items[1] || {}).text;
                }
            });
        }, false);
		/*贷款项目与贷款种类*/

        /*还款财源*/
        var hklys = new $.PopPicker({
            layer: 1
        });
        hklys.setData([{value:"薪資收入",text:"薪資收入"},{value:"執行業務所得",text:"執行業務所得"},{value:"其他",text:"其他"}]);
        var hkly = doc.getElementById('hkly');
        hkly.addEventListener('tap', function(event) {
            hklys.show(function(items) {
                var tmpval = (items[0] || {}).text;
                setSex("hkly",tmpval);
            });
        }, false);
        /*还款财源*/

        /*还款办法*/
        var hkbfs = new $.PopPicker({
            layer: 1
        });
        hkbfs.setData([{value:"按月平均攤還本息",text:"按月平均攤還本息"}]);
        var hkbf = doc.getElementById('hkbf');
        hkbf.addEventListener('tap', function(event) {
            hkbfs.show(function(items) {
                var tmpval = (items[0] || {}).text;
                setSex("hkbf",tmpval);
            });
        }, false);
        /*还款办法*/


		/*婚姻狀況*/
		var feng= doc.getElementById('feng');	
		var fengs = new $.PopPicker({
			layer: 1
		});

		fengs.setData([{value:"未婚",text:"未婚"},{value:"已婚",text:"已婚"},{value:"其它",text:"其它"}]);
			var feng = doc.getElementById('feng');
			feng.addEventListener('tap', function(event) {
					fengs.show(function(items) {
						var tmpval = (items[0] || {}).text;
						setSex("feng",tmpval);
					});
			}, false);
		/*婚姻狀況*/


		/*学历*/
		var jiaoyu= doc.getElementById('jiaoyu');	
		var jiaoyus = new $.PopPicker({
			layer: 1
		});

		jiaoyus.setData([{value:"博士",text:"博士"},{value:"碩士",text:"碩士"},{value:"大學",text:"大學"},{value:"大專",text:"大專"},{value:"高中職",text:"高中職"},{value:"其他",text:"其他"}]);
			var jiaoyu = doc.getElementById('jiaoyu');
			jiaoyu.addEventListener('tap', function(event) {
					jiaoyus.show(function(items) {
						var tmpval = (items[0] || {}).text;
						setSex("jiaoyu",tmpval);
					});
			}, false);
		/*学历*/



		/*房地产*/
		var zhuzai= doc.getElementById('zhuzai');
		var zhuzais = new $.PopPicker({
			layer: 1
		});

        zhuzais.setData([{value:"本人或配偶所有",text:"本人或配偶所有"},{value:"已抵押銀行",text:"已抵押銀行"},{value:"家族所有",text:"家族所有"},{value:"租賃",text:"租賃"},{value:"其他",text:"其他"}]);
			var zhuzai = doc.getElementById('zhuzai');
        zhuzai.addEventListener('tap', function(event) {
            zhuzais.show(function(items) {
						var tmpval = (items[0] || {}).text;
						setSex("zhuzai",tmpval);
					});
			}, false);
		/*房地产*/




	});
})(mui, document);


function setPerson(spanid,valname){
	$("input[name='"+spanid+"']").val(valname);
}

function setSex(spanid,valname){
	$("input[id='"+spanid+"']").val(valname);
}


















function showalert(msg){
	$("#messageBox").html(msg);
	$("#messageBox").show();
	setTimeout(function(){
		$("#messageBox").hide();
	},2000);
}



function checkval(val_){
	if(val_ == '' || val_ == null){
		return false;
	}else{
		return true;
	}
}





//保存资料
function saveInfo(){
    var zhonglei = $("#showCityPicker2").val();
	// var dkzl = $("#dkzl").val();
	// var dkxm = $("#dkxm").val();
	var sqje = $("#sqje").val();
	var hknx = $("#hknx").val();
	var hkbf = $("#hkbf").val();
	var hkly = $("#hkly").val();
	var name = $("#name").val();
	var usercard = $("#usercard").val();
	var feng = $("#feng").val();
	var jiaoyu = $("#jiaoyu").val();
	var shenri = $("#shenri").val();
	var hj_address = $("#hj_address").val();
	var youji = $("#youji").val();
	var email = $("#email").val();
	var phone = $("#phone").val();
	var zhuzai = $("#zhuzai").val();
	var dwname = $("#dwname").val();
	var gsdhua = $("#gsdhua").val();
	var position = $("#position").val();
	var nianxing = $("#nianxing").val();
	var nianzc = $("#nianzc").val();
	var sqfh = $("#sqfh").val();
	var lltime = $("#lltime").val();
	var zxly = $("#zxly").val();
    var yinhang = GetQueryString("yinhang");
    var lx = GetQueryString("lx");

	if(checkval(name)){
		$.post(
			"{:U('Info/daikuaninfo')}",
			{
                // dkzl:dkzl,
                // dkxm:dkxm,
                zhonglei:zhonglei,
                sqje:sqje,
                hknx:hknx,
                hkbf:hkbf,
                hkly:hkly,
                name:name,
                usercard:usercard,
                feng:feng,
                jiaoyu:jiaoyu,
                shenri:shenri,
                hj_address:hj_address,
                youji:youji,
                email:email,
                phone:phone,
                zhuzai:zhuzai,
                dwname:dwname,
                gsdhua:gsdhua,
                position:position,
                nianxing:nianxing,
                nianzc:nianzc,
                sqfh:sqfh,
                lltime:lltime,
                zxly:zxly,
				yinhang:yinhang,
                lx:lx,
			},
			function (data,state){
				if(state != "success"){
					showalert("請求數據失敗,請重試!");
				}else if(data.status == 1){
					showalert("保存成功!");
					window.location.href = data.url;
				}else{
					showalert(data.msg);
				}
			}
		);
	}else{
		showalert("資料填寫不完整,請檢查!");
	}
}

function GetQueryString(name){
    var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");     var r = window.location.search.substr(1).match(reg);
    //search,查询？后面的参数，并匹配正则
    if(r!=null)return  unescape(r[2]); return null;
}

</script>
<include file="Public/footer" />
</body>
</html>